@import '~antd/es/style/themes/default.less';

@content_width: 960px;

.container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: auto;
  background: @layout-body-background;
}

.content {
  flex: 1;
  // padding: 0 0 32px;
  position: relative;

  .content_bg {
    width: 100%;
    height: 100%;
    min-height: 350px;
    background-image: url('../assets/img/login_bg.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
  }

  .content_main {
    position: relative;
    width: @content_width;
    height: 100%;
    margin: 0 auto;
  }
}

@media (min-width: @screen-md-min) {
  .content {
    // padding: 0 0 24px;
  }
}

.header {
  height: 44px;
  line-height: 44px;

  a {
    text-decoration: none;
  }
}

.logo {
  height: 44px;
  margin-right: 16px;
  vertical-align: top;
}

.title {
  position: relative;
  top: 2px;
  color: @heading-color;
  font-weight: 600;
  font-size: 33px;
  font-family: Avenir, 'Helvetica Neue', Arial, Helvetica, sans-serif;
}

.desc {
  margin-top: 12px;
  margin-bottom: 40px;
  color: @text-color-secondary;
  font-size: @font-size-base;
}

.userLayoutHeader {
  background-color: #fff;
  height: 70px;
  flex: 0 0 auto;

  .header_content {
    width: @content_width;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
  }

  .header_logo {
    width: 172px;
    height: 42px;
    background-image: url('../assets/img/logo.png');
    background-repeat: no-repeat;
    background-size: contain;
    flex: 0 0 auto;
  }

  .header_title {
    flex: 1;
    font-size: 30px;
    color: #030e24;
    font-weight: 800;
    margin-left: 10px;
  }

  .header_contact {
    cursor: pointer;

    span {
      padding: 0 15px;
    }
  }
}

.userLayoutFooter {
  margin: 0 auto;
  width: @content_width;
  color: #a6a6a6;
  font-size: 14px;

  &>div {
    padding: 17px 0;
  }

  div.footer_content {
    border-bottom: 1px solid #e5e5e5;
  }

  .per_link:not(:first-child) {
    position: relative;
    padding: 0 10px;
    color: #a6a6a6;

    &:before {
      content: '';
      position: absolute;
      height: 14px;
      width: 1px;
      left: 0;
      top: 51%;
      transform: translateY(-50%);
      background-color: #a6a6a6;
    }
  }

  .per_link:first-child {
    padding-left: 0;
    padding-right: 10px;
    color: #a6a6a6;
  }
}
